package cn.bearspark.emoji.provider.dao.key;

import cn.bearspark.framework.redis.starter.key.RedisKeyBuilder;
import org.springframework.stereotype.Component;

/**
 * 表情包的缓存键的构造器
 *
 * @author f
 */
@Component
public class EmojiBufferKeyBuilder extends RedisKeyBuilder {

    /**
     * 表情包的 Set 集合的键的前缀
     */
    private static final String EMOJI_SET = "emojiSet";

    public String buildEmojiSetKey() {
        return super.getPrefix() + EMOJI_SET;
    }

}
